import request from '@/plugin/axios'
import util from '@/libs/util.js'

export default {

	list (data) {
		return request({
			url: 'mchAccount/list',
			headers: {},
			method: 'post',
			data,
		});
	},

	info (data) {
		return request({
			url: 'mchAccount/get',
			headers: {},
			method: 'post',
			data,
		});
	},

	getAccountTypeOptions (data = {}) {
		return request({
			url: 'eventOrder/accountOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	getEventTypeOptions (data = {}) {
		return request({
			url: 'eventOrder/typeOption',
			headers: {},
			method: 'post',
			data,
		});
	},

	exportExcel (data) {
		return request({
			url: 'mchAccount/exportExcel',
			headers: {},
			method: 'post',
			data,
		});
	},

};